package com.project.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
@Data
@TableName(value = "cms_product_label")
@Table(name = "cms_product_label", comment = "商品标签")
public class CmsProductLabel implements Serializable {
    /**
     * 产品标签ID
     */
    @TableId
    @Column(type= MySqlTypeConstant.BIGINT, comment = "产品标签ID", length = 11, isKey = true, isAutoIncrement = true,isNull = false)
    private Long productLabelId;

    /**
     * 产品ID
     */
    @Column(comment = "产品ID")
    private Long productId;

    /**
     * 标签名称
     */
    @Column(comment = "标签名称")
    private String labelName;

    /**
     * 创建人
     */
    @Column(comment = "创建人")
    private Long createUser;

    /**
     * 创建时间
     */
    @Column(comment = "创建时间", type = MySqlTypeConstant.DATETIME)
    private Date createTime;

    private static final long serialVersionUID = 1L;

}